/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif;

import javax.xml.bind.annotation.*;

/**
 * <p>Java class for channel complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <pre>
 * &lt;complexType name="channel">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *       &lt;/sequence>
 *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       &lt;attribute name="allocation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="channel" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *       &lt;attribute name="frequencyMin" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *       &lt;attribute name="frequencyMax" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "channel")
@XmlRootElement
public class Channel {

  @XmlAttribute(name = "id", required = true)
  protected long id;
  @XmlAttribute(name = "allocation", required = true)
  protected String allocation;
  @XmlAttribute(name = "channel", required = true)
  protected double channel;
  @XmlAttribute(name = "frequencyMin", required = true)
  protected double frequencyMin;
  @XmlAttribute(name = "frequencyMax", required = true)
  protected double frequencyMax;

  /**
   * Gets the value of the id property.
   * <p/>
   */
  public long getId() {
    return id;
  }

  /**
   * Sets the value of the id property.
   * <p/>
   */
  public void setId(long value) {
    this.id = value;
  }

  /**
   * Gets the value of the allocation property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getAllocation() {
    return allocation;
  }

  /**
   * Sets the value of the allocation property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setAllocation(String value) {
    this.allocation = value;
  }

  /**
   * Gets the value of the channel property.
   * <p/>
   */
  public double getChannel() {
    return channel;
  }

  /**
   * Sets the value of the channel property.
   * <p/>
   */
  public void setChannel(double value) {
    this.channel = value;
  }

  /**
   * Gets the value of the frequencyMin property.
   * <p/>
   */
  public double getFrequencyMin() {
    return frequencyMin;
  }

  /**
   * Sets the value of the frequencyMin property.
   * <p/>
   */
  public void setFrequencyMin(double value) {
    this.frequencyMin = value;
  }

  /**
   * Gets the value of the frequencyMax property.
   * <p/>
   */
  public double getFrequencyMax() {
    return frequencyMax;
  }

  /**
   * Sets the value of the frequencyMax property.
   * <p/>
   */
  public void setFrequencyMax(double value) {
    this.frequencyMax = value;
  }
}
